<?php 
/**
 * 分类列表页
 */
if(!defined('EMLOG_ROOT')) {exit('error!');} 
?>
		<section id="content">
          <section class="vbox" id="bjax-el">
            <section class="scrollable padder-lg">
              <!--<h2 class="font-thin m-b">Video Top</h2>
              <div class="row row-sm">
              <?php echo log_list_top('0','3','date'); ?>
              </div>-->

              <h3 class="font-thin m-b">Video List</h3>
              <div class="row row-sm">
<?php doAction('index_loglist_top'); ?>

<?php 
if (!empty($logs)):
foreach($logs as $value): 
?>
                <div class="col-xs-6 col-sm-4 col-md-3">
                  <div class="item">
                    <div class="pos-rlt">
                      <div class="item-overlay opacity r r-2x bg-black">
                        <div class="center text-center m-t-n">
                          <a href="<?php echo $value['log_url']; ?>"><i class="fa fa-play-circle i-2x"></i></a>
                        </div>
                      </div>
                      <a href="<?php echo $value['log_url']; ?>" data-bjax data-target="#bjax-target" data-el="#bjax-el" data-replace="true">
					  <img src="<?php TingImage($value['content'], $value['logid']); ?>" 
					 height="155" alt="<?php echo $value['log_title']; ?>" class="r r-2x img-full"></a>
                    </div>
                    <div class="padder-v">
                      <a href="<?php echo $value['log_url']; ?>" data-bjax data-target="#bjax-target" data-el="#bjax-el" data-replace="true" class="text-ellipsis"><?php echo $value['log_title']; ?></a>
                      <a href="" class="text-ellipsis text-xs text-muted"><?php blog_sort($value['logid']); ?></a>
                    </div>
                  </div>
                </div>
<?php 
endforeach;
else:
?>
	<h2>未找到</h2>
	<p>抱歉，没有符合您查询条件的结果。</p>
<?php endif;?>
              </div>
			  <?php if ($page_url):?>
              <ul class="pagination pagination">
                <?php 
                  $page_loglist = my_page($lognum, $index_lognum, $page, $pageurl);
                  echo $page_loglist;
                 ?>
              </ul>
			  <?php endif;?>
            </section>
          </section>
          <a href="#" class="hide nav-off-screen-block" data-toggle="class:nav-off-screen,open" data-target="#nav,html"></a>
        </section>
      </section>
    </section>    
  </section>
<?php include View::getView('footer');?>